//y连续匹配 g全局匹配
let hd = "udukaf";
let reg = /u/y;
console.log(reg.lastIndex);
console.log(reg.exec(hd));
console.log(reg.lastIndex);
console.log(reg.exec(hd));
console.log(reg.lastIndex);

let xj = `后盾人QQ群:11111111,999999999,88888888
后盾人不断分享视频教程，后盾人网址是 houdunren.com`;
let regExp = /(\d+),?/y;
regExp.lastIndex = 7;
let qq = [];
//[1]代表（\d+）
while ((res = regExp.exec(xj))) qq.push(res[1]);
console.log(qq);
